import java.awt.*; import java.awt.event.*; import java.applet.Applet; import java.awt.Image.*; public class Tali extends Applet implements MouseListener, Runnable{ Image pilt; Image taust; int[] x=new int[100]; // massiiv 100-le arvule; int[] y=new int[100]; int alaServ=550; int r=5; int samm=1; int helvesteArv=0; public Tali(){ addMouseListener(this); new Thread(this).start(); } public void paint(Graphics g){ if(taust==null)taust=laePilt("taust.jpg"); g.drawImage(taust, 0, 0, this); for(int i=0; i